package com.kim.useroauth.server;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 用户授权认证服务
 */
@SpringBootApplication
@EnableFeignClients
//@EnableTransactionManagement
//@EnableAsync
@EnableDiscoveryClient
@MapperScan({"com.kim.**.**.dao","com.kim.**.**.mapper"})
public class UserApplication {

    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
    }

}

